package cn.qzuie.smart.module.dorm.controller.admin.billpay.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.qzuie.smart.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.qzuie.smart.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 账单支付分页 Request VO")
@Data
public class BillPayPageReqVO extends PageParam {

    @Schema(description = "账单编号", example = "24210")
    private Long billId;

    @Schema(description = "用户编号", example = "5215")
    private Long userId;

    @Schema(description = "已付金额")
    private BigDecimal paidAmount;

    @Schema(description = "支付方式（'alipay','wechat','bank','cash'）")
    private String paymentMethod;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}